from rest_framework import serializers
from .models import *


class CompanySerializer(serializers.ModelSerializer):
    class Meta:
        model = Company
        fields = '__all__'


class CustomerSerializer(serializers.ModelSerializer):
    class Meta:
        model = Customer
        fields = '__all__'


class DetailedRegistrationSerializer(serializers.ModelSerializer):
    class Meta:
        model = DetailedRegistration
        fields = '__all__'


class SimpleRegistrationSerializer(serializers.ModelSerializer):
    class Meta:
        model = SimpleRegistration
        fields = '__all__'


class UserAgentSerializer(serializers.ModelSerializer):
    class Meta:
        model = UserAgent
        fields = '__all__'


